package com.library.service;
import java.util.List;

import com.library.bean.Book;
import com.library.bean.Page;


public interface BookService {
	
	Page<Book> getAllBook(int pageNum,int pageSize);
	
	int insertBook(Book book);
	
	int delBook(int bookId);
	
	Book getBookById(int bookId);
	
	int updateBook(Book book);
	
	List<Book> getBooks(String  bookName);
	Page<Book> getAllBook(String bookName,int pageNum,int pageSize);
}
